package demo3;

public class Dreiver extends Base{
    public int a = 30;
    public void func(){
        System.out.println("子类中的a:"+a);
        System.out.println("父类中的a:"+super.a);
        //System.out.println(b);
        //System.out.println(c);
    }

    public static void main(String[] args) {
        Dreiver dreiver = new Dreiver();
        dreiver.func();
    }
}
